//
//  ZLQWroteTravelNotesCell.swift
//  GoTravel
//
//  Created by lanou3g on 16/3/5.
//  Copyright © 2016年 SHH. All rights reserved.
//

import UIKit

class ZLQWroteTravelNotesCell: UITableViewCell {

    var titleL:UILabel?
    var nextL:UILabel?
    
    override func awakeFromNib() {
        super.awakeFromNib()
        

        
        // Initialization code
    }
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        titleL = UILabel(frame: CGRectMake(self.contentView.frame.size.width*0.1,self.contentView.frame.size.height*0.05,self.contentView.frame.size.width,self.contentView.frame.size.height*0.9))
        self.contentView.addSubview(titleL!)
        
//        nextL = UILabel(frame: CGRectMake(self.contentView.frame.size.width*0.9,self.contentView.frame.size.height*0.2,self.contentView.frame.size.width*0.2,self.contentView.frame.size.height*0.6))
        
//        self.contentView.addSubview(nextL!)
        
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func layoutSubviews() {
        super.layoutSubviews()
        titleL?.frame = CGRectMake(self.contentView.frame.size.width*0.1,self.contentView.frame.size.height*0.05,self.contentView.frame.size.width*0.65,self.contentView.frame.size.height*0.9)
        
//        nextL?.frame = CGRectMake(self.contentView.frame.size.width*0.9,self.contentView.frame.size.height*0.2,self.contentView.frame.size.width*0.2,self.contentView.frame.size.height*0.6)
        
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
